﻿namespace Web.Base.Extensions
{
    public static class BoolExtension
    {
        public static string ToText(this bool b, string trueText, string falseText)
        {
            return b ? trueText : falseText;
        }
    }
}